<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">        
        <link rel="stylesheet" href="CSS/conn.css" type="text/css"> 
        <title>Accueil</title> 
        
      
    </head>
    <body>
         <h1>Connexion</h1>
        <form method="post" action="<c:url value="Connexion" />">
            <fieldset style="width:490px;">
                <legend>Connexion</legend>
                <p>Vous devez vous connecter pour accéder à l'ensemble du site:</p>
                
                <label for="nom">Adresse email <span class="requis">*</span></label>
                <input type="email" id="email" name="email" value="<c:out value="${utilisateur.email}"/>" size="20" maxlength="60" />
                <span class="erreur">${form.erreurs['email']}</span>
                <br />
 
                <label for="motdepasse">Mot de passe <span class="requis">*</span></label>
                <input type="password" id="motdepasse" name="motdepasse" value="" size="20" maxlength="20" />
                <span class="erreur">${form.erreurs['motdepasse']}</span>
                <br />
                 
                <input type="submit" value="Connexion" />
                <br />
                 
                <p class="${empty form.erreurs ? 'succes' : 'erreur'}">${bug}</p>
                           
            </fieldset>
        </form>
    </body>
</html>
